
package com.sx.core.dialects;

import com.alibaba.druid.util.JdbcConstants;

/**
 * TODO: DOCUMENT ME!
 *
 * @author   <a href="mailto:lihao@ozstrategy.com">Hao Li</a>
 * @version  03/28/2017 08:35
 */
public interface Dialect extends JdbcConstants {

  /**
   * buildPaginationSql.
   *
   * @param   originalSql  String
   * @param   offset       int
   * @param   limit        int
   *
   * @return  String
   */
  String buildPaginationSql(String originalSql, int offset, int limit);

  String getType();
}
